package com.server.file.dao;

import com.server.file.model.DataFile;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wt on 2018/11/30.
 */
@Repository
public interface DataFileRepository extends JpaRepository<DataFile, Long> {
    List<DataFile> findByIdIn(List<Long> ids);
    int deleteByIdIn(List<Long> ids);
}
